How to change root password in mysql

Posted by Prem on July 14th, 2009 filed in mysql, Tech topics

You can use the mysqladmin tool to change the root password like this:

mysqladmin -u root -p'OLDPASSWORD' password NEWPASSWORD

Leave a Comment

You must be logged in to post a comment.